import request from "../helpers/Request";
const prefix = "login"


const getAccountList = async(data) => {
    const res = await request.sendCommand("account_list", data, prefix);
    return res;
}
const getNickName = async(data) => {
    const res = await request.sendCommand("nickname", data, prefix);
    return res;
}
const getHeadImg = async(data) => {
    const res = await request.sendCommand("head_img", data, prefix);
    return res;
}


export  {
    getAccountList, 
    getNickName, 
    getHeadImg
}